html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* This stylesheet generated by Transfonter (https://transfonter.org) on October 3, 2017 10:05 PM */

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/MontserratSemiBold.eot');
	src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
		url('../fonts/MontserratSemiBold.woff2') format('woff2'),
    url('../fonts/MontserratSemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/MontserratBold.eot');
	src: local('Montserrat Bold'), local('Montserrat-Bold'),
		url('../fonts/MontserratBold.woff2') format('woff2'),
    url('../fonts/MontserratBold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/MontserratRegular.eot');
	src: local('Montserrat Regular'), local('Montserrat-Regular'),
		url('../fonts/MontserratRegular.woff2') format('woff2'),
    url('../fonts/MontserratRegular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
  font-display: swap;
}


@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/MontserratExtraBold.eot');
	src: local('Montserrat ExtraBold'), local('Montserrat-ExtraBold'),
		url('../fonts/MontserratExtraBold.woff2') format('woff2'),
    url('../fonts/MontserratExtraBold.woff') format('woff');
	font-weight: 800;
	font-style: normal;
  font-display: swap;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

:root {
  --gap: px;
  --white-color: #ffffff;
  --dark-white-color: #e5e5e5;
  --black-color: #000000;
  --more-black-color: #222222;
  --sun-black-color: #333333;
  --gray-color: #cacaca;
  --more-gray-color: #ececec;
  --suny-black-color: #666666;
  --dark-gray-color: #7c7c7c;
  --input-color: #414141;
  --orange-color: #FF9900;
  --sun-orange-color: rgba(255, 153, 0, 0.7);
  --dark-orange-color: #E1670E;
  --sun-or-color: #F7B045;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  min-width: 320px;
  background-color: var(--white-color);
}

/* glob */

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.flex {
  display: flex;
}

.container {
  max-width: 1920px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 48px;
  line-height: 58.51px;
  color: var(--sun-black-color);
}

.section-descr {
  margin: 0;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  color: var(--sun-black-color);
}

.section-offset {
  padding-bottom: 100px;
}

.btn {
  position: relative;
  outline: none;
  font-weight: 700;
  font-size: 23.4581px;
  line-height: 29px;
  padding: 24.83px 37.14px;
  background-color: var(--orange-color);
  color: var(--white-color);
  transition: background-color 0.3s ease-in-out;
}

.btn:focus-visible {
  border: none;
  background-color: var(--sun-orange-color);
}

.btn:hover {
  background-color: var(--sun-orange-color);
}

.btn:active {
  background-color: var(--dark-orange-color);
}

/* header */

.header {
  padding-top: 14px;
  padding-bottom: 14px;
  background-color: var(--white-color);
  position: relative;
  z-index: 2;
  box-shadow: 0px 4px 4px 0px rgb(0 0 0 / 25%);
}

.header__container {
  position: relative;
  padding: 0 67px;
}

.header__logo {
  margin-right: auto;
}

.header__nav {
  margin-right: 85px;
  padding: 25px 0;
}

.header__item:not(:last-child) {
  margin-right: 85px;
}

.header__link {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--sun-black-color);
  transition: color .3s ease-in-out;
  position: relative;
  padding-bottom: 2px;
}

.header__link:focus-visible {
  outline: none;
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.header__link:active {
  color: var(--dark-orange-color);
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange-color);
  opacity: 0;
  transition: all .3s ease-in-out;
}

.header__link:hover::after {
  opacity: 1;
  background-color: var(--orange-color);
}

.header__link:active::after {
  opacity: 1;
  background-color: var(--dark-orange-color);
}

.header__btn rect {
  fill: var(--sun-black-color);
  transition: fill .3s ease-in-out;
}

.header__btn path {
  stroke: var(--sun-black-color);
  transition: stroke .3s ease-in-out;
}

.header__btn:focus-visible {
  outline: none;
}

.header__btn:focus-visible svg {
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.header__btn:hover rect {
  fill: var(--orange-color);
}

.header__btn:active rect {
  fill: var(--dark-orange-color);
}

.header__btn:hover path {
  stroke: var(--orange-color);
}

.header__btn:active path {
  stroke: var(--dark-orange-color);
}

.header__search {
  position: absolute;
  right: 67px;
  z-index: 1001;
  display: none;
}

.header__btn-nomain--active {
  background-color: var(--white-color);
}

.header__search--active {
  display: flex;
  width: 539px;
  justify-content: space-between;
  padding: 18px 13px;
  align-items: center;
  background-color: var(--white-color);
  border-radius: 16px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
}

.form__search {
  width: 100%;
  margin-right: 14px;
}

.form__search-input {
  width: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid #dcdcdc;
}

.header__btn-main {
  margin-right: 22px;
}

.loupe {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  transition: transform .3s ease-in-out, border .3s ease-in-out;
  flex-shrink: 0;
}

.loupe__border {
  position: relative;
  width: 25px;
  height: 25px;
  outline: none;
  border: 2px solid #999999;
  border-radius: 100%;
  transition: transform .3s ease-in-out, border .3s ease-in-out;
}

.loupe__line:first-child {
  position: absolute;
  left: 20%;
  top: 48%;
  width: 13px;
  height: 2px;
  border-radius: inherit;
  background-color: #999999;
  transform: rotate(45deg);
  transform-origin: center;
  transition: background-color .3s ease-in-out;
}

.loupe__line:last-child {
  position: absolute;
  left: 20%;
  top: 48%;
  width: 13px;
  height: 2px;
  border-radius: inherit;
  background-color: #999999;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: background-color .3s ease-in-out;
}

.loupe:focus-visible {
  outline: none;
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.loupe__border:hover {
  outline: none;
  border: 2px solid var(--orange-color);
  border-radius: 100%;
}

.loupe:hover .loupe__line {
  background-color: var(--orange-color);
}

.loupe__border:active {
  border: 2px solid var(--sun-black-color);
}

.loupe:active .loupe__line {
  background-color: var(--sun-black-color);
}

/* home */

.home {
  padding: 0 67px 105px 67px;
  position: relative;
  margin-bottom: 95px;
  z-index: 1;
}

.home__container {
  padding: 0;
}

.home__title {
  font-weight: 800;
  font-size: 70px;
  line-height: 85px;
  color: var(--white-color);
  margin: 0;
  max-width: 837px;
  margin-bottom: 24px;
}

.home__descr {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: var(--white-color);
  max-width: 790px;
  margin-bottom: 90px;
}

.home__about {
  position: relative;
  z-index: 2;
  padding: 98px 0 0 80px;
}

.swiper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0px 67px 6px 67px;
  z-index: 0;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  left: 7px;
  bottom: 32px;
  width: 100%;
  position: absolute;
  z-index: 2;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin-right: 16px;
}

.swiper-pagination-bullet-active {
  background-color: var(--white-color);
}

.slide-1 {
  width: 100%;
  height: 100%;
  background-image: url('../img/low-angle-photo-of-balconies-2462015\ 1.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.slide-2 {
  width: 100%;
  height: 100%;
  background-image: url('../img/brown-and-blue-glass-building-2093076\ 2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.slide-3 {
  width: 100%;
  height: 100%;
  background-image: url('../img/apartment-apartment-building-architecture-building-323705\ 2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* about */

.about__container {
  padding: 0 67px;
}

.about__descr {
  max-width: 1235px;
  line-height: 32px;
}

.about__builder {
  background-image: url('../img/Rectangle\ 2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 36px;
  width: 104%;
  flex-direction: column;
  justify-content: flex-end;
}

.about__gradient {
  background: rgba(0, 0, 0, 0.5);
  padding: 6%;
  align-items: center;
}

.about__gradient-none {
  display: none;
}

.about__caption {
  color: var(--white-color);
  line-height: 32px;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  margin-right: 15%;
}

.about__button {
  outline: none;
  color: var(--white-color);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  border: 3px solid var(--orange-color);
  padding: 10px 35px;
  height: 60px;
  transition: background-color .3s ease-in-out, border .3s ease-in-out;
}

.about__button:focus-visible {
  background-color: var(--orange-color);
}

.about__button:hover {
  background-color: var(--orange-color);
}

.about__button:active {
  background-color:var(--dark-orange-color);
  border: 3px solid var(--dark-orange-color);
}

.about__item {
  border: 1px solid var(--gray-color);
  padding: 65px 90px 65px 28px;
}

.about__item:not(:last-child) {
  margin-bottom: 30px;
}

.blog-preview__image {
  width: 100%;
  margin-right: 15px;
}

.blog-preview__image-2 {
  width: 100%;
  margin-right: 30px;
}

.blog-preview__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  margin: 0;
  margin-bottom: 8px;
}

.blog-preview__descr {
  margin: 0;
  font-size: 16px;
  line-height: 32px;
}

/* work */

.work__container {
  padding: 0 67px;
}

.work__title {
  margin-bottom: 48px;
}

.work__button--active {
  color: var(--orange-color);
}

.work__button {
  font-size: 18px;
  line-height: 22px;
  outline: none;
  transition: color .3s ease-in-out;
}

.work__item:not(:last-child) {
  margin-right: 85px;
}

.work__button:focus-visible {
  outline-offset: 2px;
  outline: 2px solid var(--dark-orange-color);
}

.work__content {
  display: none;
}

.work__content--active {
  display: flex;
}

.work__button:hover {
  color: var(--orange-color);
}

.work__button:active {
  color: var(--dark-orange-color);
  outline: none;
}

.work__button--active {
  color: var(--orange-color);
}

.work__list {
  margin-bottom: 45px;
}

.work__consultation {
  margin-right: 145px;
}

.work__caption {
  margin: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}

.work__descr {
  margin: 0;
  font-size: 16px;
  line-height: 32px;
  margin-bottom: 50px;
}

.work__img {
  margin-top: 10px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 438%;
}

.work__img-1 {
  background-image: url('../img/Rectangle\ 18\ \(1\).jpg');
}

.work__img-2 {
  background-image: url('../img/Rectangle\ 18-1\ \(1\).jpg');
}

.work__img-3 {
  background-image: url('../img/Rectangle\ 19.jpg');
}

.work__img-4 {
  background-image: url('../img/Rectangle\ 20\ \(1\).jpg');
}

.work__detailed {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  margin-right: 30px;
  height: 60px;
  text-align: center;
  color: var(--white-color);
  background-color: var(--orange-color);
  padding: 19px 37px;
  transition: background-color .3s ease-in-out;
}

.work__detailed:focus-visible {
  outline: none;
  background-color: var(--sun-or-color);
}

.work__detailed:hover {
  background-color: var(--sun-or-color);
}

.work__detailed:active {
  background-color: var(--dark-orange-color);
}

.work__link {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  height: 60px;
  text-align: center;
  padding: 18px 36px;
  border: 1px solid var(--sun-black-color);
  transition: background-color .3s ease-in-out, border .3s ease-in-out, color .3s ease-in-out;
}

.work__link:focus-visible {
  outline: none;
  background-color: var(--suny-black-color);
  color: var(--white-color);
  border: 1px solid var(--suny-black-color);
}

.work__link:hover {
  background-color: var(--suny-black-color);
  color: var(--white-color);
  border: 1px solid var(--suny-black-color);
}

.work__link:active {
  background-color: var(--black-color);
  color: var(--white-color);
  border: 1px solid var(--black-color);
}

/* question */

.question__container {
  padding: 0 67px;
}

.accordion-container {
  padding: 22px 0 0 0;
}

.ac .ac-trigger::after {
  content: "";
}

.ac.is-active>.ac-header .ac-trigger::after {
  content: "";
}

.ac {
  border: none;
  border-top: 1px solid var(--gray-color);
  border-bottom: 1px solid var(--gray-color);
  margin-top: 0;
}

.ac-title {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--sun-black-color);
  margin-right: 10px;
}

.ac .ac-trigger {
  display: flex;
  justify-content: space-between;
  padding: 39px 0 21px 0;
}

.ac-icon {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: var(--more-gray-color);
  flex-shrink: 0;
}

.ac-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 1px;
  background-color: var(--suny-black-color);
  transform: translate(-50%, -50%);
}

.ac-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 50%;
  background-color: var(--suny-black-color);
  transform: translate(-50%, -50%);
}

.ac .ac-panel .ac-text {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--sun-black-color);
  padding: 0;
  margin-bottom: 40px;
  width: 57%;
}

.ac {
  transition: all .3s ease-in-out;
}

.ac-title {
  transition: all .3s ease-in-out;
}

.ac-icon {
  transition: all .3s ease-in-out;
}

.ac-icon::after, .ac-icon::before {
  transition: all .3s ease-in-out;
}

.ac-trigger:focus-visible {
  outline: none;
}

.ac:focus-within {
  outline: none;
  border-top: 1px solid var(--orange-color);
  border-bottom: 1px solid var(--orange-color);
}

.is-active .ac:focus-within {
  border-bottom: none;
}

.ac:focus-within .ac-title {
  color: var(--orange-color);
}

.ac:focus-within .ac-icon {
  background-color: var(--orange-color);
}

.ac:focus-within .ac-icon::after,
.ac:focus-within .ac-icon::before {
  background-color: var(--white-color);
}

.ac:hover {
  border-top: 1px solid var(--orange-color);
  border-bottom: 1px solid var(--orange-color);
}

.is-active .ac:hover {
  border-bottom: none;
}

.ac:hover .ac-title {
  color: var(--orange-color);
}

.ac:hover .ac-icon {
  background-color: var(--orange-color);
}

.ac:hover .ac-icon::after,
.ac:hover .ac-icon::before {
  background-color: var(--white-color);
}

.ac:active {
  border-top: 1px solid var(--gray-color);
  border-bottom: none;
  margin-bottom: -2px;
}

.ac:active .ac-title {
  color: var(--sun-black-color);
}

.ac:active .ac-icon {
  background-color: var(--more-gray-color);
}

.ac:active .ac-icon::after,
.ac:active .ac-icon::before {
  background-color: var(--suny-black-color);
}

.is-active .ac-icon::after {
  background-color: var(--suny-black-color);
  transform: rotate(45deg);
  transform-origin: center;
  top: 25%;
}

.is-active .ac-icon::before {
  background-color: var(--suny-black-color);
  transform: rotate(45deg);
  transform-origin: center;
  left: 25%;
}

/* footer */

.footer {
  background-color: var(--more-black-color);
  padding: 50px 65px 0 65px;
}

.footer__container {
  padding: 0;
  padding-bottom: 45px;
}

.footer__img .footer__img-size {
  margin-bottom: 16px;
}

.footer__logo {
  width: 125%;
  margin-right: 19.5%;
}

.footer__input {
  width: 282%;
  margin-right: 13%;
}

.footer__link {
  font-weight: 600;
  font-size: 18px;
  line-height: 36px;
  color: var(--gray-color);
  transition: color .3s ease-in-out;
}

.footer__link:focus-visible {
  outline: none;
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.footer__link:hover {
  color: var(--orange-color);
}

.footer__link:active {
  color: var(--dark-orange-color);
}

.footer__nav {
  margin-bottom: 90px;
}

.footer__messenger:not(:last-child) {
  margin-right: 25px;
}

.footer__connection path {
  fill: var(--dark-gray-color);
  transition: fill .3s ease-in-out;
}

.footer__connection:focus-visible {
  outline: none;
}

.footer__connection:focus-visible svg {
  outline-offset: 5px;
  outline: 2px solid var(--orange-color);
}

.footer__connection:hover path {
  fill: var(--orange-color);
}

.footer__connection:active path {
  fill: var(--dark-orange-color);
}

.footer__title {
  font-weight: 400;
  font-size: 48px;
  line-height: 59px;
  color: var(--gray-color);
  margin-bottom: 25px;
}

.form__input {
  width: 100%;
  height: 60px;
  padding: 14px 24px;
  background-color: var(--input-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--gray-color);
  margin-bottom: 25px;
  transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

.form__textarea {
  width: 100%;
  height: 150px;
  padding: 14px 24px;
  background-color: var(--input-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--gray-color);
  margin-bottom: 30px;
  transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

.form__input:focus-visible {
  outline: none;
  background-color: var(--suny-black-color);
}

.form__input:hover {
  background-color: var(--suny-black-color);
}

.form__input:active {
  color: var(--white-color);
}

.form__textarea:focus-visible {
  outline: none;
  background-color: var(--suny-black-color);
}

.form__textarea:hover {
  background-color: var(--suny-black-color);
}

.form__textarea:active {
  color: var(--white-color);
}

.form__btn {
  padding: 19px 52px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  width: 269px;
  height: 58px;
  margin-right: 20px;
}

.form__check {
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--gray-color);
}

.footer__descr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--gray-color);
  align-self: center;
}
